package com.myapp.api.tools;

public class AccessToken {
    private String accessToken;

    private String tokenType;

    private String role;

    private long expiresIn;

    public AccessToken(String accessToken, String tokenType, String role, long expiresIn) {
        this.accessToken = accessToken;
        this.tokenType = tokenType;
        this.role = role;
        this.expiresIn = expiresIn;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getTokenType() {
        return tokenType;
    }

    public void setTokenType(String tokenType) {
        this.tokenType = tokenType;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public long getExpiresIn() {
        return expiresIn;
    }

    public void setExpiresIn(long expiresIn) {
        this.expiresIn = expiresIn;
    }
}
